'/
' MOTEP - Massive Online Text Environment Project
' --------------------------------------------------------------------------------
' MOTEP Master Server
' 
' Main_h.bmx
' 
' (c) Anton Berlin. All Rights Reserved.
'/

const APP_TITLE:string = "MOTEP Master Server"
const APP_VERSION:string = "0.00.1"

const LOG_FILE:string = "Masterlog.txt"

const MASTER_PORT:int = 27530
const PVE_SERVER_PORT:int = 27540
const PVP_SERVER_PORT:int = 27550
const MAX_CONNECTIONS:int = 100

' Master object.
global Master:TMaster = new TMaster

' Log stream.
global logHandle:TStream

' Account Database Object.
global AccountDatabase:TTDatabase = CreateADL()

' Master-server peer.
global masterPeer:TRKRakPeerInterface

' Server peer shutdown time (ms).
global peerShutdownTime:int = 1000
